package serverSelction;

import java.util.Comparator;

public class ServerInfoComparator implements Comparator<ServerInfo> {

	@Override
	/**** check the code below for int overrun and under run
	**/
	public int compare(ServerInfo o1, ServerInfo o2) {
		
		return o2.getServerDataRate()-o1.getServerDataRate();
	}
	

}
